package com.hspedu.Date;

/**
 * @Author Stringzhua
 * @Date 2024/3/10 12:05
 * description:演示Properties
 * diagram IDEA Properties 的含义
 */
public class Dog {
    private String name;
    private int age;

    public Dog(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void cry() {
    }

    class Air {
    }
//    diagram IDEA Properties 的含义
    public void setAddress(String address){

    }
    public double getSalary(){
        return 1.1;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
